﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace LDC_Shop_B.Models
{
    public class GetCarGoods
    {
        /// <summary>
        /// 购物车列表
        /// </summary>
        public List<CarGoods> CarList { get; set; }

        /// <summary>
        /// 购物车价格总额
        /// </summary>
        public decimal TotalPrice { get; set; }
    }

    public class CarGoods
    {
        //商品标题、商品图片、商品Id,购物车商品数量）

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 商品图片
        /// </summary>
        public string Photo { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public int GoodId { get; set; }
        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 购物车商品数量
        /// </summary>
        public int Count { get; set; }
    }
}
